package org.whuims.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Qikai on 2016/11/7.
 */
@Entity
@Table(name = "std_category")
public class Category extends IdEntity {
    private String name;
    private int priority;

    public Category() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }
}
